#pragma once

#include <Windows.h>

class Lock
{
public:
	Lock(void);
	~Lock(void);

	void Acquire();
	bool TryAcquire();
	void Release();

private:
	CRITICAL_SECTION critical_section_;
};

//typedef RefCounted<Lock> Lock;
